package hu.vpszd.entities.transaction

import hu.vpszd.entities.BaseEntity

import javax.persistence.Entity
import javax.persistence.Table
import javax.validation.constraints.NotNull

@Entity
@Table(name = "ExistingLoanDebt")
class ExistingLoanDebt extends BaseEntity {

	//Pénznem
	@NotNull
	String currency
	@NotNull
	Integer existingLoanDebtAmount
	@NotNull
	Integer monthlyInstallment
	@NotNull
	Date loanExpiration

}
